// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Teleport_Library.generated.h"

/**
 * 
 */
UCLASS()
class HOMEWORK3_API UTeleport_Library : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()

		UFUNCTION(BlueprintCallable, Category = "FindBoxs", meta = (WorldContext = "WorldContextObject"))
		static void FindActorLocationFromClass(UObject* WorldContextObject, AActor* actor, TSubclassOf<AActor> ActorClass, FVector& ClosestLocation, FVector& FurthestLocation);


	UFUNCTION(BlueprintCallable, Category = "FindBoxs", meta = (WorldContext = "WorldContextObject"))
		static void FindAllActorsOfClassByDistance(UObject* WorldContextObject, AActor* actor, TSubclassOf<AActor> ActorClass, TArray<AActor*>& OutActors);
};
